﻿app.controller("SearchController", function($scope) {
  $scope.notes = [
   o.notes = {}
  ];
  $scope.user = [
      u.user = {}
  ];

  $scope.filterFunction = function(element) {
    return element.notes.match(/^Ma/) ? true : false;
  };
});